package com.cimp.domain.iqy;

import java.io.Serializable;
import java.util.Date;

/**
 * [简要描述]:爱奇艺播控侧海报实体类
 * [详细描述]:用于海报信息管理
 *
 * @author huojinhao
 * @date 2018/7/12
 */
public class Picture implements Serializable{


    private static final long serialVersionUID = -6782253088115954014L;

    /**
     * 主键
     */
    private String id;

    /**
     * MetaInfo ID
     */
    private String mid;

    /**
     * 人物ID
     */
    private String pid;

    /**
     * 视频ID
     */
    private String epId;

    /**
     * 该条海报关联的内容类型
     */
    private String type;

    /**
     * 待操作下载的海报地址
     */
    private String targetUrl;

    /**
     * 海报的类型 0.专辑图 1.海报图 2.剧集图 3.封面图
     */
    private int targetType;

    /**
     * 下载失败次数
     */
    private int targetFailed;

    /**
     * 创建时间
     */
    private Date date;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getEpId() {
        return epId;
    }

    public void setEpId(String epId) {
        this.epId = epId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public int getTargetType() {
        return targetType;
    }

    public void setTargetType(int targetType) {
        this.targetType = targetType;
    }

    public int getTargetFailed() {
        return targetFailed;
    }

    public void setTargetFailed(int targetFailed) {
        this.targetFailed = targetFailed;
    }

    @Override
    public String toString() {
        return "Picture{" +
                "id='" + id + '\'' +
                ", mid='" + mid + '\'' +
                ", pid='" + pid + '\'' +
                ", epId='" + epId + '\'' +
                ", type='" + type + '\'' +
                ", targetUrl='" + targetUrl + '\'' +
                ", targetType=" + targetType +
                ", targetFailed=" + targetFailed +
                '}';
    }
}
